package com.pignest.hotel.beans;

import com.pignest.hotel.annotation.Bean;
import com.pignest.hotel.beans.global.BaseBean;


@Bean("参数")
public class Dictionary extends BaseBean {
	
	private static final long serialVersionUID = 5233690311938396210L;

    private String key;

    private String value;

    public Dictionary(String property, String value) {
        this.key = property;
        this.value = value;
    }

    public Dictionary() {
    }

    public String getKey() {
        return this.key;
    }

    public void setKey(String property) {
        this.key = property;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String toString() {
        return id + "/" + key + "/" + value;
    }

    @Override
    public String toSimpleString() {
    	return concat(key, value);
    }
}
